---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/jesse/Dropbox/voter_id/Replication/table_a6.log
  log type:  text
 opened on:  17 Aug 2020, 15:04:52

. 
. use "$path/nc_dataset.dta" if new_reg == 0, clear

. 
. // drop 2018 
. drop if inlist(election, 11, 12)
(13,254,638 observations deleted)

. 
. drop black white hispanic othernw new_reg

. drop noid_p_2016 race_string race_by_year age_by_year race_by_age_by_year birth_year

. 
. * match on pre-treatment turnout path
. * generate pre-treatment path
. ** focus only on people eligible the entire time period
. 
. ** generate number of pre-treatment primaries participated in 
. egen primaries = sum(voted) if mod(election,2) == 1 & election < 9, by(id)
(39763914 missing values generated)

. sort id primaries

. replace primaries = primaries[_n-1] if id == id[_n-1]
(39,763,914 real changes made)

. ** generate number of pre-treatment generals participated in
. egen generals = sum(voted) if mod(election,2) == 0 & election < 9, by(id)
(39763914 missing values generated)

. sort id generals

. replace generals = generals[_n-1] if id == id[_n-1]
(39,763,914 real changes made)

. 
. sort id election

. 
. ** create string encoding of possible pre-treatment outcome paths
. tostring voted, generate(outcome_path)
outcome_path generated as str1

. 
. by id: gen outcome_path_pretreat = outcome_path[1] + outcome_path[2] + ///
>                                                                 outcome_path[3] + outcome_path[4] + ///
>                                                                 outcome_path[5] + outcome_path[6] + ///
>                                                                 outcome_path[7] + outcome_path[8]

. 
. gen count = 1

. 
. // keep general only
. keep if mod(election,2) == 0
(33,136,595 observations deleted)

. 
. 
. egen total_pre_treat = concat(primaries generals)

. 
. collapse (sum) count (mean) voted, by(total_pre_treat no_dmv_match election)

. 
. 
. *** get N by path by summing together n treated and n control
. by total_pre_treat: gen tot_tmp = count[6] if _n==6
(221 missing values generated)

. egen tot_treat = sum(tot_tmp), by(total_pre_treat)

. by total_pre_treat: replace tot_tmp = count[1] if _n == 1
(25 real changes made)

. egen tot = sum(tot_tmp), by(total_pre_treat)

. drop tot_tmp

. gen tot_control = tot - tot_treat

. 
. *** get weights for fw based on total n per stratum
. *** each stratum has 10 obs
. *** fw requires integers so need to round
. gen tot2 = round(tot/10)

. gen tot_treat2 = round(tot_treat/10)

. egen N = sum(tot2)

. 
. egen op = group(total_pre_treat)

. 
. reghdfe voted no_dmv_match [fw=tot_treat2], a(op election)
weight tot_treat2 can only contain strictly positive integers, but 5 zero values were found (will be dropped)
(converged in 3 iterations)

HDFE Linear regression                            Number of obs   =    218,730
Absorbing 2 HDFE groups                           F(   1, 218701) =    4507.69
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9071
                                                  Adj R-squared   =     0.9071
                                                  Within R-sq.    =     0.0202
                                                  Root MSE        =     0.1142

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0327854   .0004883   -67.14   0.000    -.0337425   -.0318283
-------------+----------------------------------------------------------------
    Absorbed |     F(27, 218701) =  78920.632   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
          op |           24              24              0     | 
    election |            4               5              1     | 
---------------------------------------------------------------+

. 
. matrix results = J(25, 4, .)

. 
. forval i = 1(1)25 {
  2.         if `i' == 21 {
  3.                 continue
  4.         }
  5.         reghdfe voted no_dmv_match if op == `i' [fw=tot_treat2], a(election)
  6.         matrix results[`i', 1] = _b[no_dmv_match]
  7.         matrix results[`i', 2] = _se[no_dmv_match]
  8.         qui sum tot_treat if op == `i'
  9.         matrix results[`i', 3] = r(mean)
 10.         qui sum tot if op == `i'
 11.         matrix results[`i', 4] = r(mean)
 12. }
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =     83,590
Absorbing 1 HDFE group                            F(   1,  83584) =   20896.00
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.8595
                                                  Adj R-squared   =     0.8595
                                                  Within R-sq.    =     0.2000
                                                  Root MSE        =     0.0227

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0226947    .000157  -144.55   0.000    -.0230024    -.022387
-------------+----------------------------------------------------------------
    Absorbed |       F(4, 83584) = 122603.866   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =     52,060
Absorbing 1 HDFE group                            F(   1,  52054) =   12476.42
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9247
                                                  Adj R-squared   =     0.9247
                                                  Within R-sq.    =     0.1933
                                                  Root MSE        =     0.0511

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0500662   .0004482  -111.70   0.000    -.0509447   -.0491877
-------------+----------------------------------------------------------------
    Absorbed |       F(4, 52054) = 156616.684   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =     14,520
Absorbing 1 HDFE group                            F(   1,  14514) =    2172.14
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9544
                                                  Adj R-squared   =     0.9544
                                                  Within R-sq.    =     0.1302
                                                  Root MSE        =     0.0581

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0449512   .0009645   -46.61   0.000    -.0468417   -.0430607
-------------+----------------------------------------------------------------
    Absorbed |       F(4, 14514) =  75449.874   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      5,040
Absorbing 1 HDFE group                            F(   1,   5034) =     663.98
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9260
                                                  Adj R-squared   =     0.9259
                                                  Within R-sq.    =     0.1165
                                                  Root MSE        =     0.0527

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0382877   .0014859   -25.77   0.000    -.0412007   -.0353747
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 5034) =  15586.217   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      2,630
Absorbing 1 HDFE group                            F(   1,   2624) =     656.00
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.8980
                                                  Adj R-squared   =     0.8979
                                                  Within R-sq.    =     0.2000
                                                  Root MSE        =     0.0163

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0162403   .0006341   -25.61   0.000    -.0174837    -.014997
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 2624) =   5614.195   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      2,310
Absorbing 1 HDFE group                            F(   1,   2304) =     576.00
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.8034
                                                  Adj R-squared   =     0.8029
                                                  Within R-sq.    =     0.2000
                                                  Root MSE        =     0.0387

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0386276   .0016095   -24.00   0.000    -.0417838   -.0354714
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 2304) =   2209.358   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      7,100
Absorbing 1 HDFE group                            F(   1,   7094) =    1564.47
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.8923
                                                  Adj R-squared   =     0.8922
                                                  Within R-sq.    =     0.1807
                                                  Root MSE        =     0.0642

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0602401    .001523   -39.55   0.000    -.0632256   -.0572545
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 7094) =  14298.034   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      6,430
Absorbing 1 HDFE group                            F(   1,   6424) =    1270.80
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9422
                                                  Adj R-squared   =     0.9421
                                                  Within R-sq.    =     0.1652
                                                  Root MSE        =     0.0621

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0551786   .0015479   -35.65   0.000    -.0582129   -.0521443
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 6424) =  25840.491   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      6,120
Absorbing 1 HDFE group                            F(   1,   6114) =     651.51
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9031
                                                  Adj R-squared   =     0.9030
                                                  Within R-sq.    =     0.0963
                                                  Root MSE        =     0.0602

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0393162   .0015403   -25.52   0.000    -.0423358   -.0362966
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 6114) =  14082.508   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      7,270
Absorbing 1 HDFE group                            F(   1,   7264) =    1816.00
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.8884
                                                  Adj R-squared   =     0.8883
                                                  Within R-sq.    =     0.2000
                                                  Root MSE        =     0.0140

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0140442   .0003296   -42.61   0.000    -.0146902   -.0133981
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 7264) =  13995.754   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =        100
Absorbing 1 HDFE group                            F(   1,     94) =      23.50
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.8546
                                                  Adj R-squared   =     0.8468
                                                  Within R-sq.    =     0.2000
                                                  Root MSE        =     0.0491

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0475974   .0098186    -4.85   0.000    -.0670925   -.0281024
-------------+----------------------------------------------------------------
    Absorbed |          F(4, 94) =    132.226   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =        420
Absorbing 1 HDFE group                            F(   1,    414) =      59.86
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9127
                                                  Adj R-squared   =     0.9117
                                                  Within R-sq.    =     0.1263
                                                  Root MSE        =     0.0623

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0470048   .0060753    -7.74   0.000    -.0589471   -.0350625
-------------+----------------------------------------------------------------
    Absorbed |         F(4, 414) =   1067.314   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      1,590
Absorbing 1 HDFE group                            F(   1,   1584) =     182.31
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.8769
                                                  Adj R-squared   =     0.8765
                                                  Within R-sq.    =     0.1032
                                                  Root MSE        =     0.0802

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0542959   .0040212   -13.50   0.000    -.0621834   -.0464084
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 1584) =   2775.714   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      3,420
Absorbing 1 HDFE group                            F(   1,   3414) =     376.97
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9029
                                                  Adj R-squared   =     0.9028
                                                  Within R-sq.    =     0.0994
                                                  Root MSE        =     0.0587

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0389669    .002007   -19.42   0.000    -.0429019   -.0350319
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 3414) =   7845.162   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      8,270
Absorbing 1 HDFE group                            F(   1,   8264) =    2066.00
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.8928
                                                  Adj R-squared   =     0.8928
                                                  Within R-sq.    =     0.2000
                                                  Root MSE        =     0.0120

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |   -.012041   .0002649   -45.45   0.000    -.0125603   -.0115217
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 8264) =  16696.345   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =         10
Absorbing 1 HDFE group                            F(   1,      4) =       1.00
                                                  Prob > F        =     0.3739
                                                  R-squared       =     0.9994
                                                  Adj R-squared   =     0.9986
                                                  Within R-sq.    =     0.2000
                                                  Root MSE        =     0.0078

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |    .004918    .004918     1.00   0.374    -.0087366    .0185727
-------------+----------------------------------------------------------------
    Absorbed |           F(4, 4) =   1573.444   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =         50
Absorbing 1 HDFE group                            F(   1,     44) =       7.55
                                                  Prob > F        =     0.0087
                                                  R-squared       =     0.7722
                                                  Adj R-squared   =     0.7463
                                                  Within R-sq.    =     0.1464
                                                  Root MSE        =     0.0937

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0727825    .026492    -2.75   0.009    -.1261736   -.0193914
-------------+----------------------------------------------------------------
    Absorbed |          F(4, 44) =     35.393   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =        300
Absorbing 1 HDFE group                            F(   1,    294) =      24.95
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.8928
                                                  Adj R-squared   =     0.8910
                                                  Within R-sq.    =     0.0782
                                                  Root MSE        =     0.0776

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0447524     .00896    -4.99   0.000    -.0623863   -.0271184
-------------+----------------------------------------------------------------
    Absorbed |         F(4, 294) =    606.204   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      1,520
Absorbing 1 HDFE group                            F(   1,   1514) =     168.96
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9130
                                                  Adj R-squared   =     0.9127
                                                  Within R-sq.    =     0.1004
                                                  Root MSE        =     0.0597

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0398391   .0030649   -13.00   0.000     -.045851   -.0338272
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 1514) =   3928.285   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      7,220
Absorbing 1 HDFE group                            F(   1,   7214) =    1803.50
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9254
                                                  Adj R-squared   =     0.9254
                                                  Within R-sq.    =     0.2000
                                                  Root MSE        =     0.0087

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0087326   .0002056   -42.47   0.000    -.0091357   -.0083295
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 7214) =  21924.204   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =         10
Absorbing 1 HDFE group                            F(   1,      4) =       0.32
                                                  Prob > F        =     0.6005
                                                  R-squared       =     0.7125
                                                  Adj R-squared   =     0.3530
                                                  Within R-sq.    =     0.0746
                                                  Root MSE        =     0.1591

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0571429   .1006217    -0.57   0.600    -.3365134    .2222276
-------------+----------------------------------------------------------------
    Absorbed |           F(4, 4) =      2.397   0.209             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =         50
Absorbing 1 HDFE group                            F(   1,     44) =       2.06
                                                  Prob > F        =     0.1578
                                                  R-squared       =     0.8978
                                                  Adj R-squared   =     0.8862
                                                  Within R-sq.    =     0.0448
                                                  Root MSE        =     0.0753

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0306124   .0213035    -1.44   0.158    -.0735468     .012322
-------------+----------------------------------------------------------------
    Absorbed |          F(4, 44) =     96.138   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =        510
Absorbing 1 HDFE group                            F(   1,    504) =      85.15
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9768
                                                  Adj R-squared   =     0.9766
                                                  Within R-sq.    =     0.1445
                                                  Root MSE        =     0.0268

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0219339   .0023769    -9.23   0.000    -.0266039    -.017264
-------------+----------------------------------------------------------------
    Absorbed |         F(4, 504) =   5288.829   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+
(converged in 1 iterations)

HDFE Linear regression                            Number of obs   =      8,190
Absorbing 1 HDFE group                            F(   1,   8184) =    2046.00
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9165
                                                  Adj R-squared   =     0.9165
                                                  Within R-sq.    =     0.2000
                                                  Root MSE        =     0.0082

------------------------------------------------------------------------------
       voted |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
no_dmv_match |  -.0082108   .0001815   -45.23   0.000    -.0085666   -.0078549
-------------+----------------------------------------------------------------
    Absorbed |        F(4, 8184) =  21948.064   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
    election |            5               5              0     | 
---------------------------------------------------------------+

. 
. collapse (sum) count, by(total_pre_treat)

. svmat results 

. keep total_pre_treat results*

. renvars results1 results2 results3 results4 \ b se tot_treat tot

. 
. log close
      name:  <unnamed>
       log:  /Users/jesse/Dropbox/voter_id/Replication/table_a6.log
  log type:  text
 closed on:  17 Aug 2020, 15:17:34
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
